package com.xwj.back.service;

import com.alibaba.fastjson2.JSONObject;
import com.xwj.back.pojo.Notice;

import java.util.List;
import java.util.Map;

public interface NoticeService {
    JSONObject getNotices(Integer page);
    List<Notice> getSendAll();
    String addNotice(Notice notice);
    String deleteNotice(Integer id);
    String updateNotice(Map<String,String> data);
    String sendNotice(Integer id);
    List<Notice> getLike(String type,boolean send);
    String bulkDelete(List<Notice> notices);
}
